<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
	<head>
		<title>砖家宝内部网址列表</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>
		<script type="text/javascript" src="js/json2.js"></script>
		<link rel="stylesheet" href="css/index.css" type="text/css" media="screen"/>
	</head>
	<body>
		<dl class="list_dl">
		<dt><b>砖家宝内部网址列表</b><a href="/zjbHome" class="admin">>>管理</a></dt>
		<dd>
			<ul id="url">
			
			</ul>
		</dd>
		</dl>
		<script type="text/javascript">
		function showList(items) {
			var html = [];
			for (var i=0; i<items.length; i++) {
				html.push('<li><a href="' + items[i].url + '">' + items[i].urlName + '</a> <a class="link1" href="' + items[i].url + '">' + items[i].introduce + '</a></li>');					
			}
				var htmls = html.join('\r\n');	
				var url = document.getElementById("url");
				url.innerHTML = htmls;
		}
		
		$(document).ready(function () {
			showList(${listUrl});
		});
		</script>
	</body>
</html>